package com.one.rope.mvp.web.common.dto.base;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author Weijian.liu
 * @desc 系统版本信息
 * @date 2020/02/19
 */
@ApiModel
public class VersionVO {

  @ApiModelProperty(value = "版本名称")
  private String version;

  @ApiModelProperty(value = "版本号")
  @JsonProperty("version_code")
  private int versionCode;

  public VersionVO(String version, int versionCode) {
    this.version = version;
    this.versionCode = versionCode;
  }

  public String getVersion() {
    return version;
  }

  public void setVersion(String version) {
    this.version = version;
  }

  public int getVersionCode() {
    return versionCode;
  }

  public void setVersionCode(int versionCode) {
    this.versionCode = versionCode;
  }
}
